import request from '@/config/axios'

// 查询pad版本号分页
export const getAppVersionPage = async (params) => {
  return await request.get({ url: `/system/app-version/page`, params })
}

// 创建pad版本号
export const createAppVersion = async (data) => {
  return await request.post({ url: `/system/app-version/create`, data })
}

// 更新pad版本号
export const updateAppVersion = async (data) => {
  return await request.put({ url: `/system/app-version/update`, data })
}

// 获取pad版本号
export const getAppVersion = async (params) => {
  return await request.get({ url: `/system/app-version/get`, params })
}